<?php

namespace app\merchant\controller;

use app\common\model\Goods as GoodsModel;
//use app\common\controller\Tools;
use think\Db;
//use app\common\model\GoodsCategory as GoodsCategoryModel;
//use app\common\tool\OSSUtils;

class Goodsattr extends Common
{
    public function goodsDetail()
    {
        $detailsId = (int)input('param.detailsId');
        $data = GoodsModel::getGoodsDetails($detailsId);
        return returnJson(1, 'Request is ok', $data);
    }

    public function show() {


        return view('goods_attr');

    }




}